/**
 * index
 */
define(function(require) {
    var $ = require('jquery');
    var com = require('./common');

    com.layoutSet();

    var main_height = $('.area_house').outerHeight(),
    	area_main_height = main_height - $('.area_house > .hd').outerHeight() - 10;
    $('.area_house').find('.dPart').each(function(){
    	$(this).height(area_main_height);
    	var resize_box = $(this).find('.resize'),
    		resize_box_length = resize_box.length;
    	resize_box.height((area_main_height-resize_box_length*10)/resize_box_length)
    })

    com.loading_finished();
});